//
//  MNetWorkURLs.h
//  MobiProject
//
//  Created by 阔 李 on 15-3-25.
//  Copyright (c) 2015年 阔 李. All rights reserved.
//

#ifndef MobiProject_MNetWorkURLs_h
#define MobiProject_MNetWorkURLs_h

/**
 *  API的HOST
 */

#define AP_HOST @"http://112.74.36.208/"//user

//#define AP_HOST @"http://lmq.quyum.cn/"//company

#define API_HOST @"http://lmq.quyum.cn/"



// 格式化
#define manage(authStr,page) [NSString stringWithFormat:@"%@%@",authStr, page]

//http://192.168.1.88/
//http://lmq.quyum.com/Home/Shopcase/shop

//////////////////////////////////////////////////////////////////////////////////////////

// 发送短信
#define Send_URL [NSString stringWithFormat:@"%@home/Register/smsSend",AP_HOST]

// 注册
#define My_Register [NSString stringWithFormat:@"%@home/Register/reg",AP_HOST]

//找回密码
#define My_FindPassword [NSString stringWithFormat:@"%@home/Register/retrieve",AP_HOST]

// 登录
#define Login_URL [NSString stringWithFormat:@"%@home/Login/doLogin",AP_HOST]

//修改手机号接口
#define My_modifyPhone [NSString stringWithFormat:@"%@home/member/modifyPhone",AP_HOST]





// 合作商家分类

#define Cooperation_Type [NSString stringWithFormat:@"%@home/Cooperation/type",AP_HOST]

// 店铺列表

#define Cooperation_List [NSString stringWithFormat:@"%@home/Cooperation/cooperation",AP_HOST]

// 商家商品列表

#define Goods_List [NSString stringWithFormat:@"%@home/cooperation/goodsList",AP_HOST]

// 商品详情

#define Goods_Details [NSString stringWithFormat:@"%@home/cooperation/goods",AP_HOST]

// 确认订单界面

#define Confirm_Order [NSString stringWithFormat:@"%@home/cooperation/confirmOrder",AP_HOST]

// 生成订单

#define Add_Order [NSString stringWithFormat:@"%@home/cooperation/addOrder",AP_HOST]

// 合作商家余额支付

#define Balance_Payment [NSString stringWithFormat:@"%@home/cooperation/balancePayment",AP_HOST]

// 合作商家微信支付

#define WeChat_Cooperation [NSString stringWithFormat:@"%@home/cooperation/weChatCooperation",AP_HOST]

// 合作商家积分支付

#define Integral_Payment [NSString stringWithFormat:@"%@home/cooperation/integralPayment",AP_HOST]

// 我的麦田 余额支付

#define Pay_Cornfield [NSString stringWithFormat:@"%@home/member/payCornfield",AP_HOST]

// 我的麦田 微信支付

#define WeChat_Cornfield [NSString stringWithFormat:@"%@home/payment/weChatCornfield",AP_HOST]

// 登陆判断

#define Is_Login [NSString stringWithFormat:@"%@Home/base/isLogin",AP_HOST]

// 合作商家订单

#define Cooperation_Order [NSString stringWithFormat:@"%@home/cooperation/order",AP_HOST]

// 取消合作商家订单

#define Cancel_Order [NSString stringWithFormat:@"%@home/cooperation/cancelOrder",AP_HOST]

// 合作商家退款

#define Refund_Order [NSString stringWithFormat:@"%@home/cooperation/refundOrder",AP_HOST]




// 分类

#define Category_Hot [NSString stringWithFormat:@"%@Home/Shopcase/index",AP_HOST]

// 全部商品

#define Category_Goods [NSString stringWithFormat:@"%@Home/Shopcase/shopall",AP_HOST]

// 商品详情

#define Category_Details [NSString stringWithFormat:@"%@Home/Shopcase/shop",AP_HOST]

// 添加到购物车

#define Cart_Add [NSString stringWithFormat:@"%@Home/Shopcart/addShopcart",AP_HOST]

// 收藏

#define Collection [NSString stringWithFormat:@"%@Home/Shopcart/collection",AP_HOST]

// 搜索

#define Search [NSString stringWithFormat:@"%@Home/Shopcase/search",AP_HOST]






// 购物车

#define Cart_Index [NSString stringWithFormat:@"%@Home/Shopcart/index",AP_HOST]

// 购物车添加商品数量

#define Cart_Add_Shop_Num [NSString stringWithFormat:@"%@Home/Shopcart/addShopNum",AP_HOST]

// 购物车商品删除

#define Cart_Shop_Delete [NSString stringWithFormat:@"%@Home/Shopcase/delShopcart",AP_HOST]

// 结算时修改购物车状态

#define Edit_Shopcart [NSString stringWithFormat:@"%@Home/Order/editShopcart",AP_HOST]

// 订单展示

#define Order_Display [NSString stringWithFormat:@"%@Home/Order/index",AP_HOST]

// 优惠券

#define DiscountCoupon [NSString stringWithFormat:@"%@Home/Order/useVouchers",AP_HOST]

// 收货地址展示

#define Address [NSString stringWithFormat:@"%@Home/Shopcart/address",AP_HOST]

// 更改默认收货地址

#define Default_Address [NSString stringWithFormat:@"%@Home/Shopcart/defaultAddress",AP_HOST]

// 删除收货地址

#define Delete_Address [NSString stringWithFormat:@"%@Home/Shopcart/delAddress",AP_HOST]

// 新增收货地址

#define Add_Address [NSString stringWithFormat:@"%@Home/Shopcart/addAddress",AP_HOST]

// 修改收货地址

#define Edit_Address [NSString stringWithFormat:@"%@Home/Shopcart/editAddress",AP_HOST]

// 确认订单-积分

#define Add_Integral_Order [NSString stringWithFormat:@"%@Home/Order/addIntegralOrder",AP_HOST]

// 确认订单-代金券

#define Add_Vouchers_Order [NSString stringWithFormat:@"%@Home/Order/addVouchersOrder",AP_HOST]

// 微信支付

#define Add_WeiXinPay [NSString stringWithFormat:@"%@Home/Paymentapi/wxapi",AP_HOST]

// 余额支付

#define Balance_Pay [NSString stringWithFormat:@"%@Home/Checkout/payment",AP_HOST]

// 支付回掉

#define Pay_Result [NSString stringWithFormat:@"%@Home/Paymentapi/synchronization",AP_HOST]





////////////////////////////首页一元夺宝
//一元夺宝
#define Home_OneshowIndex [NSString stringWithFormat:@"%@Home/Oneshow/index",AP_HOST]


//一元夺宝其他
#define Home_OneOtherIndex [NSString stringWithFormat:@"%@Home/Oneshow/otherIndex",AP_HOST]
//Home/Oneshow/showShop

//一元夺宝详情

#define Home_OneshowShowShop [NSString stringWithFormat:@"%@Home/Oneshow/showShop",AP_HOST]
//一元夺宝往期商品详情

#define Home_OneShowPastShop [NSString stringWithFormat:@"%@Home/Oneshow/pastShop",AP_HOST]

//登录后判断用户是否参加过当前的一元夺宝

#define Home_OneShowAttend [NSString stringWithFormat:@"%@Home/Oneshow/attend",AP_HOST]

//查询是否有新的一期

#define Home_OneShowNewStage [NSString stringWithFormat:@"%@Home/Oneshow/newStage",AP_HOST]



//Home/Oneshow/allParticipation
//所有参与记录

#define Home_OneshowallParticipation [NSString stringWithFormat:@"%@Home/Oneshow/allParticipation",AP_HOST]

//往期揭晓
#define Home_OneshowToReveal [NSString stringWithFormat:@"%@Home/Oneshow/toReveal",AP_HOST]


//一元夺宝结算
#define Home_OnebuyToAccount [NSString stringWithFormat:@"%@Home/Onebuy/account",AP_HOST]

//购买一元夺宝商品(点击付款按钮)
#define Home_OnebuyTobuy [NSString stringWithFormat:@"%@Home/Onebuy/buy",AP_HOST]

//一元夺宝查看物流
#define My_OneShowExpress [NSString stringWithFormat:@"%@Home/Oneshow/express",AP_HOST]



//成为店主
#define My_MemberCornfield [NSString stringWithFormat:@"%@home/member/cornfield",AP_HOST]
//意见反馈
#define My_OpinionFeedback [NSString stringWithFormat:@"%@home/member/leaving",AP_HOST]

//夺宝记录
#define My_OnebuyIndianaRecord [NSString stringWithFormat:@"%@Home/Onebuy/indianaRecord",AP_HOST]

//幸运记录
#define My_OnebuyluckyRecord [NSString stringWithFormat:@"%@Home/Onebuy/luckyRecord",AP_HOST]

// 个人信息
#define Member_Info [NSString stringWithFormat:@"%@Home/member/memberInfo",AP_HOST]

// 上传图片http://lmq.quyum.cn/Home/Member/uploadHeadByBase"

#define Member_uploadHeadByBase [NSString stringWithFormat:@"%@Home/Member/uploadHeadByBase",AP_HOST]

// 用户
#define User_Info [NSString stringWithFormat:@"%@home/member/index",AP_HOST]
// 订单数量展示(小红点)
#define User_OrderRedNum [NSString stringWithFormat:@"%@Home/Order/orderRedNum",AP_HOST]
// 首页
#define Home_Main [NSString stringWithFormat:@"%@Home/Index/index",AP_HOST]

// 最新揭晓  首页
#define Home_zxjx [NSString stringWithFormat:@"%@mobile/app_index_zxjx",API_HOST]

// 人气  首页
#define Home_renqi [NSString stringWithFormat:@"%@mobile/app_renqi",API_HOST]

#define Home_renqi_hot [NSString stringWithFormat:@"%@mobile/app_renqi/10",API_HOST]

#define Home_renqi_new [NSString stringWithFormat:@"%@mobile/app_renqi/20",API_HOST]

#define Home_renqi_high [NSString stringWithFormat:@"%@mobile/app_renqi/30",API_HOST]

#define Home_renqi_low [NSString stringWithFormat:@"%@mobile/app_renqi/40",API_HOST]

// 最新晒单 首页
#define home_zxsd [NSString stringWithFormat:@"%@shaidan/",API_HOST]


// 夺宝记录 首页
#define home_dbjl [NSString stringWithFormat:@"%@home/userbuylist",API_HOST]

//////////////////////////////////////////////////////////////////////////////////////////

// tab  全部商品
// 所有商品
#define app_menu_all [NSString stringWithFormat:@"%@mobile/app_menu1",API_HOST]

// 全部商品 二级页面
#define app_menu_all_2(itemID) [NSString stringWithFormat:@"%@mobile/app_menu2/%@",API_HOST,itemID]

// 全部商品 三级级页面
#define app_menu_all_3(itemID,itemThreeID) [NSString stringWithFormat:@"%@mobile/app_menu2/%@",API_HOST,itemThreeID]

// 获取菜单数据
#define app_menu_all_item(itemID,item1ID,item2ID) [NSString stringWithFormat:@"%@mobile/app_menudata/%@/%@/%@",API_HOST,itemID,item1ID,item2ID]

//////////////////////////////////////////////////////////////////////////////////////////


// 最新揭秘tab 3
#define tab_zxjx [NSString stringWithFormat:@"%@mobile/app_getLotteryList",API_HOST]
//////////////////////////////////////////////////////////////////////////////////////////


// 商品详情
#define tab_app_item(item_id) [NSString stringWithFormat:@"%@mobile/app_item/%@",API_HOST,item_id]

//////////////////////////////////////////////////////////////////////////////////////////
// 所有夺宝记录
#define all_dbjl(itemID) [NSString stringWithFormat:@"%@mobile/buyrecords/%@",API_HOST,itemID]

// 图文详情
#define image_xq(itemID) [NSString stringWithFormat:@"%@mobile/goodsdesc/%@",API_HOST,itemID]

// 晒单评论
#define pinglun_xq(itemID) [NSString stringWithFormat:@"%@mobile/goodspost/%@",API_HOST,itemID]

// 账户充值 首页
#define home_zhcz [NSString stringWithFormat:@"%@home/userrecharge",API_HOST]

// 购物车 提交
#define shop_submit(itemID,number) [NSString stringWithFormat:@"%@ajax/addShopCart/%@/%@/cart",API_HOST,itemID,number]

// 购物车 删除
#define shop_del(itemID) [NSString stringWithFormat:@"%@ajax/delCartItem/%@",API_HOST,itemID]



//////////////////////////////////////////////////////////////////////////////////////////////////////////////





//////////////////////////////////////////////////////////////////////////////////////////////////////////////


// 注册
#define Register(phoneNum) [NSString stringWithFormat:@"%@user/mobilecheck/%@",API_HOST,phoneNum]




//////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**                      我的                */
//我的收藏
#define My_AccordingToCollection [NSString stringWithFormat:@"%@Home/Shopcart/showCollection",AP_HOST]
//取消收藏
#define My_RemoveAccordingToCollection [NSString stringWithFormat:@"%@Home/Shopcart/delCollection",AP_HOST]


//财务日志
#define My_FinancialTheLog [NSString stringWithFormat:@"%@home/finance/index",AP_HOST]

//二维码
#define My_QrCode [NSString stringWithFormat:@"%@home/member/invitation",AP_HOST]
//优惠券
#define My_Coupons [NSString stringWithFormat:@"%@Home/Order/useVouchers",AP_HOST]

//超值自营
#define Home_ABargain [NSString stringWithFormat:@"%@Home/Shopcase/selfShop",AP_HOST]

//home/member/getMoney//我的余额
#define Home_TheBalanceOf [NSString stringWithFormat:@"%@home/member/getMoney",AP_HOST]

//余额提现
#define Home_TheBalanceOfTiX [NSString stringWithFormat:@"%@home/Withdrawals/index",AP_HOST]

//提现
#define Home_TIXBalance [NSString stringWithFormat:@"%@home/Withdrawals/setWit",AP_HOST]


//麦田日志
#define Home_MaiTianLog [NSString stringWithFormat:@"%@home/finance/wheat",AP_HOST]

//我的粉丝一级

#define My_FansOne [NSString stringWithFormat:@"%@home/member/team",AP_HOST]

//我的粉丝二级

#define My_FansTwo [NSString stringWithFormat:@"%@home/member/teamTwo",AP_HOST]
//我的退款退货

#define My_RefoundOne [NSString stringWithFormat:@"%@Home/Order/returnShow",AP_HOST]

//我的全部订单

#define My_AllOrder [NSString stringWithFormat:@"%@Home/Order/allOrderShow",AP_HOST]
//我的剩余订单

#define My_AllOrderForPayment [NSString stringWithFormat:@"%@Home/Order/otherOrder",AP_HOST]
//Home/Order/deliveryOrder
//我的待收货

#define My_AllOrderFordeliveryOrder [NSString stringWithFormat:@"%@Home/Order/deliveryOrder",AP_HOST]

//提醒发货

#define My_RemindDelivery [NSString stringWithFormat:@"%@/Home/Order/deliverShop",AP_HOST]

//提醒发货

#define My_OrderDeliverShop [NSString stringWithFormat:@"%@Home/Order/deliverShop",AP_HOST]
//退货接口

#define My_TuiGoods [NSString stringWithFormat:@"%@/Home/Order/return_good",AP_HOST]
//确认收货

#define My_OrderConfirmReceipt [NSString stringWithFormat:@"%@Home/Order/confirmReceipt",AP_HOST]
//查看物流

#define My_OrderiewLogistics [NSString stringWithFormat:@"%@Home/OrderiewLogistics",AP_HOST]


//获取银行卡查询key

#define My_BankCardKey [NSString stringWithFormat:@"%@home/member/getBankKey",AP_HOST]

//获取银行卡查询key

#define My_RealName [NSString stringWithFormat:@"%@home/member/realName",AP_HOST]

//提现申请展示

#define My_WithdrawalsIndex [NSString stringWithFormat:@"%@home/Withdrawals/index",AP_HOST]



// 充值 微信
#define chong_zhi(memony) [NSString stringWithFormat:@"https://m.mingpinduobao.com/index.php/mobile/cart/app_addmoney/%@/10",memony]

// 充值 卡号
#define chong_zhi_code [NSString stringWithFormat:@"https://m.mingpinduobao.com/?/member/user/appcardrcg"]

// 支付 余额
#define pay_yue [NSString stringWithFormat:@"https://m.mingpinduobao.com/index.php/mobile/cart/app_paysubmit"]

// 支付 微信
#define pay_weixin [NSString stringWithFormat:@"https://m.mingpinduobao.com/index.php/member/cart/app_paysubmit"]
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

///  充值卡充值
///http://m.mingpinduobao.com/?/mobile/autolottery
// 微信验证和提交
//https://m.mingpinduobao.com/?/member/user/appwxlogin
//https://m.mingpinduobao.com/?/member/user/appwx_callback
// qq验证和提交
//https://m.mingpinduobao.com/?/member/user/appqqlogin
//https://m.mingpinduobao.com/?/member/user/appqq_callback
#endif
